package com.sz.springboot_jpa.mongo;

import com.sz.springboot_jpa.entity.Book;
import com.sz.springboot_jpa.entity.Customer;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CustomerRepository extends MongoRepository<Customer,String> {
    Customer findByFirstName( String name);
}
